home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGStyleElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  5KB  |  158 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGStyleElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGStyleElement_h__
  6. #define __gen_nsIDOMSVGStyleElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMSVGStyleElement */
  19. #define NS_IDOMSVGSTYLEELEMENT_IID_STR "9af0d129-b366-4aa8-b7d8-8dce93148d91"
  20.  
  21. #define NS_IDOMSVGSTYLEELEMENT_IID \
  22.   {0x9af0d129, 0xb366, 0x4aa8, \
  23.     { 0xb7, 0xd8, 0x8d, 0xce, 0x93, 0x14, 0x8d, 0x91 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMSVGStyleElement : public nsIDOMSVGElement {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGSTYLEELEMENT_IID)
  29.  
  30.   /* attribute DOMString xmlspace; */
  31.   NS_IMETHOD GetXmlspace(nsAString & aXmlspace) = 0;
  32.   NS_IMETHOD SetXmlspace(const nsAString & aXmlspace) = 0;
  33.  
  34.   /* attribute DOMString type; */
  35.   NS_IMETHOD GetType(nsAString & aType) = 0;
  36.   NS_IMETHOD SetType(const nsAString & aType) = 0;
  37.  
  38.   /* attribute DOMString media; */
  39.   NS_IMETHOD GetMedia(nsAString & aMedia) = 0;
  40.   NS_IMETHOD SetMedia(const nsAString & aMedia) = 0;
  41.  
  42.   /* attribute DOMString title; */
  43.   NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
  44.   NS_IMETHOD SetTitle(const nsAString & aTitle) = 0;
  45.  
  46. };
  47.  
  48. /* Use this macro when declaring classes that implement this interface. */
  49. #define NS_DECL_NSIDOMSVGSTYLEELEMENT \
  50.   NS_IMETHOD GetXmlspace(nsAString & aXmlspace); \
  51.   NS_IMETHOD SetXmlspace(const nsAString & aXmlspace); \
  52.   NS_IMETHOD GetType(nsAString & aType); \
  53.   NS_IMETHOD SetType(const nsAString & aType); \
  54.   NS_IMETHOD GetMedia(nsAString & aMedia); \
  55.   NS_IMETHOD SetMedia(const nsAString & aMedia); \
  56.   NS_IMETHOD GetTitle(nsAString & aTitle); \
  57.   NS_IMETHOD SetTitle(const nsAString & aTitle); 
  58.  
  59. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  60. #define NS_FORWARD_NSIDOMSVGSTYLEELEMENT(_to) \
  61.   NS_IMETHOD GetXmlspace(nsAString & aXmlspace) { return _to GetXmlspace(aXmlspace); } \
  62.   NS_IMETHOD SetXmlspace(const nsAString & aXmlspace) { return _to SetXmlspace(aXmlspace); } \
  63.   NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
  64.   NS_IMETHOD SetType(const nsAString & aType) { return _to SetType(aType); } \
  65.   NS_IMETHOD GetMedia(nsAString & aMedia) { return _to GetMedia(aMedia); } \
  66.   NS_IMETHOD SetMedia(const nsAString & aMedia) { return _to SetMedia(aMedia); } \
  67.   NS_IMETHOD GetTitle(nsAString & aTitle) { return _to GetTitle(aTitle); } \
  68.   NS_IMETHOD SetTitle(const nsAString & aTitle) { return _to SetTitle(aTitle); } 
  69.  
  70. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  71. #define NS_FORWARD_SAFE_NSIDOMSVGSTYLEELEMENT(_to) \
  72.   NS_IMETHOD GetXmlspace(nsAString & aXmlspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetXmlspace(aXmlspace); } \
  73.   NS_IMETHOD SetXmlspace(const nsAString & aXmlspace) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetXmlspace(aXmlspace); } \
  74.   NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  75.   NS_IMETHOD SetType(const nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  76.   NS_IMETHOD GetMedia(nsAString & aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } \
  77.   NS_IMETHOD SetMedia(const nsAString & aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMedia(aMedia); } \
  78.   NS_IMETHOD GetTitle(nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  79.   NS_IMETHOD SetTitle(const nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } 
  80.  
  81. #if 0
  82. /* Use the code below as a template for the implementation class for this interface. */
  83.  
  84. /* Header file */
  85. class nsDOMSVGStyleElement : public nsIDOMSVGStyleElement
  86. {
  87. public:
  88.   NS_DECL_ISUPPORTS
  89.   NS_DECL_NSIDOMSVGSTYLEELEMENT
  90.  
  91.   nsDOMSVGStyleElement();
  92.  
  93. private:
  94.   ~nsDOMSVGStyleElement();
  95.  
  96. protected:
  97.   /* additional members */
  98. };
  99.  
  100. /* Implementation file */
  101. NS_IMPL_ISUPPORTS1(nsDOMSVGStyleElement, nsIDOMSVGStyleElement)
  102.  
  103. nsDOMSVGStyleElement::nsDOMSVGStyleElement()
  104. {
  105.   /* member initializers and constructor code */
  106. }
  107.  
  108. nsDOMSVGStyleElement::~nsDOMSVGStyleElement()
  109. {
  110.   /* destructor code */
  111. }
  112.  
  113. /* attribute DOMString xmlspace; */
  114. NS_IMETHODIMP nsDOMSVGStyleElement::GetXmlspace(nsAString & aXmlspace)
  115. {
  116.     return NS_ERROR_NOT_IMPLEMENTED;
  117. }
  118. NS_IMETHODIMP nsDOMSVGStyleElement::SetXmlspace(const nsAString & aXmlspace)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* attribute DOMString type; */
  124. NS_IMETHODIMP nsDOMSVGStyleElement::GetType(nsAString & aType)
  125. {
  126.     return NS_ERROR_NOT_IMPLEMENTED;
  127. }
  128. NS_IMETHODIMP nsDOMSVGStyleElement::SetType(const nsAString & aType)
  129. {
  130.     return NS_ERROR_NOT_IMPLEMENTED;
  131. }
  132.  
  133. /* attribute DOMString media; */
  134. NS_IMETHODIMP nsDOMSVGStyleElement::GetMedia(nsAString & aMedia)
  135. {
  136.     return NS_ERROR_NOT_IMPLEMENTED;
  137. }
  138. NS_IMETHODIMP nsDOMSVGStyleElement::SetMedia(const nsAString & aMedia)
  139. {
  140.     return NS_ERROR_NOT_IMPLEMENTED;
  141. }
  142.  
  143. /* attribute DOMString title; */
  144. NS_IMETHODIMP nsDOMSVGStyleElement::GetTitle(nsAString & aTitle)
  145. {
  146.     return NS_ERROR_NOT_IMPLEMENTED;
  147. }
  148. NS_IMETHODIMP nsDOMSVGStyleElement::SetTitle(const nsAString & aTitle)
  149. {
  150.     return NS_ERROR_NOT_IMPLEMENTED;
  151. }
  152.  
  153. /* End of implementation class template. */
  154. #endif
  155.  
  156.  
  157. #endif /* __gen_nsIDOMSVGStyleElement_h__ */
  158.